<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2018/3/10
  Time: 12:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>AllUser</title>
</head>
<body>
<table>
    <tr>
        <td>用户id</td>
        <td>用户名</td>
        <td>用户密码</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${userList}" var="user" >
    <tr>
        <td>${user.userId}</td>
        <td>${user.userName}</td>
        <td>${user.userPassWord}</td>
        <td><a href="<%=request.getContextPath()%>/delete?userId=${user.userId}">修改</a> </td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
